/* el-message css override */
.el-message {
  top:15px !important;
  min-width: auto;
  background-color: #fff;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 2px 8px 0px rgba(167, 173, 184, 0.25);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 2px;
  border-color: #ebeef5;
}
.el-message__content,
.el-message--success .el-message__content,
.el-message--error .el-message__content,
.el-message--warning .el-message__content {
  color: #535861;
  font-size: 14px;
}
.el-message.obvious_message {
  min-width: 380px;
  background-color: #f0f9eb;
  border-color: #e1f3d8;
  padding: 15px 20px;
  box-shadow: 0px 2px 8px 0px rgba(167, 173, 184, 0.25);
  border-radius: 2px;
  align-items: end;
}
.el-message.obvious_message .tit {
  font-size: 16px;
  line-height: 32px;
}
.el-message.obvious_message .con {
  font-size: 14px;
  line-height: 40px;
  color: #666;
}
.el-message.obvious_message.custom_obvious_message {
  width: 30%;
}
.el-message.obvious_message.custom_obvious_message .el-message__closeBtn {
  top: 35px;
}
.el-message.obvious_message.custom_obvious_message .el-icon-success {
  font-size: 32px;
}
.el-message-box{
  .btn-custom-confirm {
    float: right;
  }
  .btn-custom-cancel {
    float: right;
    margin-left: 10px;
    margin-right: 124px;
  }
}
@media screen and(-ms-high-contrast:active),(-ms-high-contrast:none) {
  #app .el-table__body,.el-table__header{ width: 100% !important; }
  #app .sp-table .el-table .cell{ width: 100% !important; }
}
/* el-button css override*/
.el-button {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 6px 18px;
}

.el-button.el-button--success {
  background: #79c95b;
  border: 1px solid #79c95b;
}

.el-button.el-button--danger {
  background: #ff3f3b;
  border: 1px solid #ff3f3b;
}

.el-button.el-button--primary {
  background: #0b82ff;
  border: 1px solid #0b82ff;
}

/* el-dialog css override */
.el-dialog {
  width: 45%;
}
.el-dialog .el-dialog__footer {
  text-align: center;
}

/* el-form css override */
.el-input__inner {
  height: 28px;
  line-height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.el-input__icon {
  line-height: 28px;
}
.el-range-editor .el-range__icon,
.el-range-editor .el-range__close-icon,
.el-date-editor .el-range-separator {
  line-height: 28px;
  height: 28px;
}
//不然会出现拖拽放放大的东西
.el-textarea .el-textarea__inner {
  resize: none;
}

.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: rgba(220, 223, 230, 1);
}
.el-form-item__error {
  padding-top: 0;
}
.el-date-editor .el-range-separator{
  line-height: 28px;
}
/* 分页 css override */
#app .override-default-pagination {
  text-align: right;
  .el-pagination button,
  .el-pagination span:not([class*="suffix"]) {
    height: 22px;
    line-height: 22px;
    min-width: 22px;
    font-size: 14px;
  }
  .el-pagination {
    font-weight: 400;
    .number.active {
      color: white;
      background: #0B82FF;
      -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
      border-radius: 2px;
    }

    .el-pager li {
      color: #9b9ea4;
      min-width: 22px;
      height: 22px;
      line-height: 22px;
      margin: 0 1px;
      padding: 0 3px;
      font-size: 14px;
    }
    .el-select .el-input {
      height: 22px;
      width: 85px;

      .el-input__icon {
        line-height: 22px;
      }

      .el-input__inner {
        height: 22px;
        width: 85px;
        color: #535861;
        font-size: 14px;
        line-height: 22px;
      }
    }
    .el-pagination__jump {
      margin-left: 7px;
    }
    .el-pagination__editor {
      height: 22px;
      color: #12171f;
      font-size: 14px;
    }
    .el-pagination__editor.el-input .el-input__inner {
      height: 22px;
    }
    button .el-icon {
      color: #535861;
    }
    button:disabled .el-icon {
      color: #c2c6ce;
    }
  }
}

/* el-table css override */
.override-default-table {
  .el-table tbody tr:hover > td {
    background-color: #ecf5ff;
  }
  .el-table .el-button--text{
    font-size: 14px;
  }
  .el-table .form-table-header-cell {
    background: #f9fcff;
    color: #535861;
    text-align: center;
    padding: 10px 0;
    height: 40px;
    border-left: none;
    border-right: none;
    font-size: 14px;
  }
  .el-table th,
  .el-table tr:nth-child(even) {
    background: #fbfdff;
  }

  .el-table .form-table-body-cell {
    .cell {
      text-align: center;
      line-height: 20px;
      & > .el-tooltip {
        width: 100%;
        display: inline-block;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
      }
    }

    height: 40px;
    padding: 0;
    color: #535861;
    font-size: 14px;
  }
  .form-table-body-cell.text-align-left .cell {
    text-align: left;
  }
  .form-table-body-cell.padding-left-40 > .cell {
    padding-left: 40px;
  }
}

/* 去掉下拉框的箭头 */
.el-popper[x-placement^="bottom"] .popper__arrow {
  display: none;
}
.el-popper[x-placement^="bottom"] {
  margin-top: 5px !important;
}
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before {
      content: '';
      display: none;
}
/* 需求立项用到 */
.buildCompanyTreeForMRPI .el-tree-node {
  .is-leaf + .el-checkbox .el-checkbox__inner{
    display: inline-block;
  }
  .el-checkbox .el-checkbox__inner{
	  display: none;
  }
}

.el-message-box{
  width: 340px;
}
.el-message-box__wrapper .el-message-box__header,
.el-message-box .el-message-box__header {
  display: none;
}
.el-dialog .el-dialog__content,
.el-message-box__wrapper .el-message-box__content,
.el-message-box .el-message-box__content {
  margin: 30px 30px 33px 15px;
}
.el-dialog .el-dialog__footer,
.el-message-box__wrapper .el-message-box__btns,
.el-message-box .el-message-box__btns {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}
.el-message-box .el-message-box__btns .el-button{
  margin: 0 0 10px 10px;
}
.el-message-box .btn-custom-cancel{
  background-color: #F0F2F3;
  border: 1px solid #F0F2F3;
}

